package com.fernfx.xingtan.my.entity;

import com.fernfx.xingtan.common.base.BaseEntity;

import java.util.List;

/**
 * Created by admin on 2018/8/21.
 */

public class PurchaseHistroyEntity extends BaseEntity {

    /**
     * obj : {"totalSize":1,"pageSize":10,"totalPages":1,"pageNo":1,"records":[{"id":1,"date":"Fri Aug 10 18:31:02 CST 2018","name":"上海上海市普陀区"}]}
     */

    private ObjBean obj;

    public ObjBean getObj() {
        return obj;
    }

    public void setObj(ObjBean obj) {
        this.obj = obj;
    }

    public static class ObjBean {
        /**
         * totalSize : 1
         * pageSize : 10
         * totalPages : 1
         * pageNo : 1
         * records : [{"id":1,"date":"Fri Aug 10 18:31:02 CST 2018","name":"上海上海市普陀区"}]
         */

        private int totalSize;
        private int pageSize;
        private int totalPages;
        private int pageNo;
        private List<RecordsBean> records;

        public int getTotalSize() {
            return totalSize;
        }

        public void setTotalSize(int totalSize) {
            this.totalSize = totalSize;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean {
            /**
             * id : 1
             * date : Fri Aug 10 18:31:02 CST 2018
             * name : 上海上海市普陀区
             */

            private int id;
            private String date;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
